// SPDX-License-Identifier: Apache-2.0
//
// Copyright © 2017 Trust Wallet.
//
// This is a GENERATED FILE, changes made here WILL BE LOST.
//

{{#if is_public}}public {{/if}}enum {{name}}
    {{~#if superclasses}}: {{/if}}{{#each superclasses}}{{this}}{{#unless @last}}, {{/unless}}{{/each}} {
    {{#each variants}}
    case `{{this.name}}` = {{this.value}}
    {{/each}}
    {{#if add_description}}

    public var description: String {
        switch self {
            {{#each variants}}
            case .{{this.name}}: return "{{this.as_string}}"
            {{/each}}
        }
    }
    {{/if}}
}
